package beanstao.util.type.base;

import java.io.File;

import beanstao.util.exception.technical.util.reflect.FailToCastObjectException;
import beanstao.util.type.Castor;

public class String2File extends Castor<String, File>
{

	@Override
	public File cast(String src, Class<?> toType, String... args) throws FailToCastObjectException
	{
		return new File(src);
	}

}
